#!/usr/bin/env python
#-*- coding: utf-8 -*-
#@Time:2020/7/24 2:56 下午
#@Author:boyizhang

import requests
class ApiScheduler():
    def api_scheduler(self,methods,url,headers,params):

        # r = requests.post(url,headers=headers,data=params)
        # print(r)
        # print(r.content)
        return requests.post(methods,url,headers=headers,data=params)